Imports System.ComponentModel

<Serializable()> _
Public Class Section3
    Inherits BaseDescriptor

    'S3C1
    Private _T As Double
    Private _IFFVOC As Integer
    'S3C2
    Private _PSIB0 As Double
    Private _SN0 As Double
    Private _SP0 As Double
    Private _RITOP As Double
    'S3C3
    Private _PSIBL As Double
    Private _SNL As Double
    Private _SPL As Double
    Private _RIBOT As Double
    'S3C4
    Private _TFREEZ As Double
    Private _IHDIP As Integer
    Private _SISIN As Double
    Private _DPEXT As Integer = 1
    'S3C5
    Private _POLFAC As Double
    'S3C6
    Private _SCA_MAXANG As Double
    Private _SCA_MINANG As Double

    <CustomOrder(1), CustomCategory("S3C1"), CustomDisplayName("T"), CustomDescription("T"), DefaultValue(0.0), TypeConverter(GetType(CustomDoubleConverter))> _
    Public Property T() As Double
        Get
            Return _T
        End Get
        Set(ByVal value As Double)
            _T = value
        End Set
    End Property

    <CustomOrder(2), CustomCategory("S3C1"), CustomDisplayName("IFFVOC"), CustomDescription("IFFVOC"), DefaultValue(0), TypeConverter(GetType(CustomInt32ConverterYESNO))> _
    Public Property IFFVOC() As Object
        Get
            Return _IFFVOC
        End Get
        Set(ByVal value As Object)
            _IFFVOC = CInt((New CustomInt32ConverterYESNO).ConvertFrom(value))
        End Set
    End Property

    <CustomOrder(1), CustomCategory("S3C2"), CustomDisplayName("PSIB0"), CustomDescription("PSIB0"), DefaultValue(0.0), TypeConverter(GetType(CustomDoubleConverter))> _
    Public Property PSIB0() As Double
        Get
            Return _PSIB0
        End Get
        Set(ByVal value As Double)
            _PSIB0 = value
        End Set
    End Property

    <CustomOrder(2), CustomCategory("S3C2"), CustomDisplayName("SN0"), CustomDescription("SN0"), DefaultValue(0.0), TypeConverter(GetType(CustomDoubleConverter))> _
    Public Property SN0() As Double
        Get
            Return _SN0
        End Get
        Set(ByVal value As Double)
            _SN0 = value
        End Set
    End Property

    <CustomOrder(3), CustomCategory("S3C2"), CustomDisplayName("SP0"), CustomDescription("SP0"), DefaultValue(0.0), TypeConverter(GetType(CustomDoubleConverter))> _
    Public Property SP0() As Double
        Get
            Return _SP0
        End Get
        Set(ByVal value As Double)
            _SP0 = value
        End Set
    End Property

    <CustomOrder(4), CustomCategory("S3C2"), CustomDisplayName("RITOP"), CustomDescription("RITOP"), DefaultValue(0.0), TypeConverter(GetType(CustomDoubleConverter))> _
    Public Property RITOP() As Double
        Get
            Return _RITOP
        End Get
        Set(ByVal value As Double)
            _RITOP = value
        End Set
    End Property

    <CustomOrder(1), CustomCategory("S3C3"), CustomDisplayName("PSIBL"), CustomDescription("PSIBL"), DefaultValue(0.0), TypeConverter(GetType(CustomDoubleConverter))> _
    Public Property PSIBL() As Double
        Get
            Return _PSIBL
        End Get
        Set(ByVal value As Double)
            _PSIBL = value
        End Set
    End Property

    <CustomOrder(2), CustomCategory("S3C3"), CustomDisplayName("SNL"), CustomDescription("SNL"), DefaultValue(0.0), TypeConverter(GetType(CustomDoubleConverter))> _
    Public Property SNL() As Double
        Get
            Return _SNL
        End Get
        Set(ByVal value As Double)
            _SNL = value
        End Set
    End Property

    <CustomOrder(3), CustomCategory("S3C3"), CustomDisplayName("SPL"), CustomDescription("SPL"), DefaultValue(0.0), TypeConverter(GetType(CustomDoubleConverter))> _
    Public Property SPL() As Double
        Get
            Return _SPL
        End Get
        Set(ByVal value As Double)
            _SPL = value
        End Set
    End Property

    <CustomOrder(4), CustomCategory("S3C3"), CustomDisplayName("RIBOT"), CustomDescription("RIBOT"), DefaultValue(0.0), TypeConverter(GetType(CustomDoubleConverter))> _
    Public Property RIBOT() As Double
        Get
            Return _RIBOT
        End Get
        Set(ByVal value As Double)
            _RIBOT = value
        End Set
    End Property

    <CustomOrder(1), CustomCategory("S3C4"), CustomDisplayName("TFREEZ"), CustomDescription("TFREEZ"), DefaultValue(0.0), TypeConverter(GetType(CustomDoubleConverter))> _
    Public Property TFREEZ() As Double
        Get
            Return _TFREEZ
        End Get
        Set(ByVal value As Double)
            _TFREEZ = value
        End Set
    End Property

    <CustomOrder(2), CustomCategory("S3C4"), CustomDisplayName("IHDIP"), CustomDescription("IHDIP"), DefaultValue(0), TypeConverter(GetType(CustomInt32ConverterIHDIP))> _
    Public Property IHDIP() As Object
        Get
            Return _IHDIP
        End Get
        Set(ByVal value As Object)
            _IHDIP = CInt((New CustomInt32ConverterIHDIP).ConvertFrom(value))
        End Set
    End Property

    <CustomOrder(3), CustomCategory("S3C4"), CustomDisplayName("SISIN"), CustomDescription("SISIN"), DefaultValue(0.0), TypeConverter(GetType(CustomDoubleConverter))> _
    Public Property SISIN() As Double
        Get
            Return _SISIN
        End Get
        Set(ByVal value As Double)
            _SISIN = value
        End Set
    End Property

    <CustomOrder(4), CustomCategory("S3C4"), CustomDisplayName("DPEXT"), CustomDescription("DPEXT"), DefaultValue(1), TypeConverter(GetType(CustomInt32ConverterDPEXT))> _
    Public Property DPEXT() As Object
        Get
            Return _DPEXT
        End Get
        Set(ByVal value As Object)
            _DPEXT = CInt((New CustomInt32ConverterDPEXT).ConvertFrom(value))
        End Set
    End Property

    <CustomOrder(1), CustomCategory("S3C5"), CustomDisplayName("POLFAC"), CustomDescription("POLFAC"), DefaultValue(0.0), TypeConverter(GetType(CustomDoubleConverter))> _
    Public Property POLFAC() As Double
        Get
            Return _POLFAC
        End Get
        Set(ByVal value As Double)
            _POLFAC = value
        End Set
    End Property

    <CustomOrder(1), CustomCategory("S3C6"), CustomDisplayName("SCA_MAXANG"), CustomDescription("SCA_MAXANG"), DefaultValue(0.0), TypeConverter(GetType(CustomDoubleConverter))> _
    Public Property SCA_MAXANG() As Double
        Get
            Return _SCA_MAXANG
        End Get
        Set(ByVal value As Double)
            _SCA_MAXANG = value
        End Set
    End Property

    <CustomOrder(2), CustomCategory("S3C6"), CustomDisplayName("SCA_MINANG"), CustomDescription("SCA_MINANG"), DefaultValue(0.0), TypeConverter(GetType(CustomDoubleConverter))> _
    Public Property SCA_MINANG() As Double
        Get
            Return _SCA_MINANG
        End Get
        Set(ByVal value As Double)
            _SCA_MINANG = value
        End Set
    End Property

End Class
